import {get, post} from "@/utils/request";

export const getSos = (userId) => get("/purse/sos/findSos?userId=" + userId);

export const getAttestation = (userId) => get("/purse/attestation/findAttestation?userId=" + userId);

export const addSos = (data) => post("/purse/sos/addSos", data);

export const addAttestation = (data) => post("/purse/attestation/addAttestation", data);